.class public Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;
.super Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;
.source "AddCaptionActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;
    }
.end annotation


# instance fields
.field private A:Landroid/widget/ImageView;

.field private B:Landroid/widget/ImageView;

.field private C:Landroid/widget/TextView;

.field private D:Landroid/widget/TextView;

.field private E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

.field private F:Landroid/view/View;

.field private G:Landroid/view/View;

.field private H:Landroid/widget/ImageView;

.field private I:Landroid/widget/ImageView;

.field private J:Landroid/widget/ImageView;

.field private K:Landroid/widget/FrameLayout;

.field private L:Landroid/view/ViewGroup;

.field private M:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

.field private N:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

.field private O:Landroid/widget/TextView;

.field private P:Landroidx/constraintlayout/widget/ConstraintLayout;

.field private Q:Landroidx/constraintlayout/widget/ConstraintLayout;

.field private R:Z

.field private S:Z

.field private T:Z

.field private U:Lcom/esfile/screen/recorder/media/b;

.field private V:Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;

.field private W:J

.field private X:Z

.field private Y:Ljava/lang/String;

.field private Z:Ljava/lang/String;

.field private i0:Z

.field private j0:Z

.field private k0:Z

.field private l0:Z

.field private m:Les/cd;

.field private m0:J

.field private n:Lcom/esfile/screen/recorder/utils/q;

.field private o:Landroid/widget/EditText;

.field private p:J

.field private q:Z

.field private r:Ljava/lang/String;

.field private s:I

.field private t:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/a;

.field private u:Z

.field private v:[Ljava/lang/String;

.field private w:I

.field private x:J

.field private y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

.field private z:Landroid/view/View;


# direct methods
.method public constructor <init>()V
    .locals 5

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;-><init>()V

    const-wide/16 v0, -0x1

    .line 2
    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->q:Z

    const/4 v1, 0x5

    new-array v1, v1, [Ljava/lang/String;

    const-string v2, "BGMRender"

    const/4 v3, 0x0

    aput-object v2, v1, v3

    const-string v2, "BackgroundRender"

    aput-object v2, v1, v0

    const/4 v2, 0x2

    const-string v4, "CropRender"

    aput-object v4, v1, v2

    const/4 v2, 0x3

    const-string v4, "RotateRender"

    aput-object v4, v1, v2

    const/4 v2, 0x4

    const-string v4, "PictureRender"

    aput-object v4, v1, v2

    .line 4
    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->v:[Ljava/lang/String;

    .line 5
    iput-boolean v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->R:Z

    .line 6
    iput-boolean v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->S:Z

    .line 7
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->T:Z

    const-wide/16 v1, 0x0

    .line 8
    iput-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->W:J

    const-string v3, "none"

    .line 9
    iput-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Y:Ljava/lang/String;

    .line 10
    iput-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Z:Ljava/lang/String;

    .line 11
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j0:Z

    .line 12
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->k0:Z

    .line 13
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->l0:Z

    .line 14
    iput-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    return-void
.end method

.method private L()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->W:J

    invoke-static {v0, v1, v2}, Les/rd;->a(Les/cd;J)J

    move-result-wide v0

    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    return-void
.end method

.method private M()V
    .locals 5

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->l0:Z

    if-eqz v0, :cond_0

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->l0:Z

    goto :goto_0

    :cond_0
    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->i0:Z

    .line 4
    :goto_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->O()J

    move-result-wide v0

    const-wide/16 v2, 0x64

    .line 5
    div-long v2, v0, v2

    long-to-float v2, v2

    const/high16 v3, 0x3f800000    # 1.0f

    mul-float v2, v2, v3

    const/high16 v3, 0x41200000    # 10.0f

    div-float/2addr v2, v3

    .line 6
    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->O:Landroid/widget/TextView;

    new-instance v4, Ljava/lang/StringBuilder;

    invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(F)Ljava/lang/StringBuilder;

    const-string v2, "s"

    invoke-virtual {v4, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v3, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-gtz v4, :cond_1

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->O:Landroid/widget/TextView;

    const/high16 v1, -0x10000

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    goto :goto_1

    .line 8
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->O:Landroid/widget/TextView;

    const/high16 v1, -0x1000000

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    :goto_1
    return-void
.end method

.method private N()Z
    .locals 8

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->getTime()J

    move-result-wide v4

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->N:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->getTime()J

    move-result-wide v0

    const/4 v2, 0x0

    cmp-long v3, v4, v0

    if-ltz v3, :cond_0

    .line 3
    sget v0, Les/z4;->durec_subtitles_time_warn:I

    invoke-static {v0}, Les/ec;->a(I)V

    return v2

    :cond_0
    const-wide/16 v6, 0x3e8

    add-long/2addr v6, v4

    cmp-long v3, v6, v0

    if-lez v3, :cond_1

    .line 4
    sget v0, Les/z4;->durec_subtitle_duration_limit_prompt:I

    invoke-static {v0}, Les/ec;->a(I)V

    return v2

    .line 5
    :cond_1
    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    invoke-static {v0, v1, v2, v3}, Les/rd;->a(JJ)J

    move-result-wide v6

    .line 6
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    invoke-virtual/range {v1 .. v7}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a(JJJ)V

    const/4 v0, 0x1

    return v0
.end method

.method private O()J
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->N:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->getTime()J

    move-result-wide v0

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->getTime()J

    move-result-wide v2

    sub-long/2addr v0, v2

    return-wide v0
.end method

.method private P()Ljava/util/List;
    .locals 7
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "()",
            "Ljava/util/List<",
            "Les/cd$r;",
            ">;"
        }
    .end annotation

    .line 1
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->getAllPieces()Ljava/util/List;

    move-result-object v1

    .line 3
    invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :goto_0
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;

    .line 4
    new-instance v3, Les/cd$r;

    invoke-direct {v3}, Les/cd$r;-><init>()V

    .line 5
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->b()J

    move-result-wide v5

    invoke-virtual {v4, v5, v6, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->b(JLes/cd$r;)V

    .line 6
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->c()J

    move-result-wide v4

    invoke-direct {p0, v4, v5}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(J)J

    move-result-wide v4

    iput-wide v4, v3, Les/cd$r;->i:J

    .line 7
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->a()J

    move-result-wide v4

    invoke-direct {p0, v4, v5}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(J)J

    move-result-wide v4

    iput-wide v4, v3, Les/cd$r;->j:J

    .line 8
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->e()I

    move-result v2

    iput v2, v3, Les/cd$r;->k:I

    .line 9
    invoke-interface {v0, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 10
    :cond_0
    sget-object v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/l;->a:Lcom/esfile/screen/recorder/videos/edit/activities/caption/l;

    invoke-static {v0, v1}, Ljava/util/Collections;->sort(Ljava/util/List;Ljava/util/Comparator;)V

    return-object v0
.end method

.method private Q()V
    .locals 3

    const-string v0, "input_method"

    .line 1
    invoke-virtual {p0, v0}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/inputmethod/InputMethodManager;

    if-eqz v0, :cond_0

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    if-eqz v1, :cond_0

    .line 3
    invoke-virtual {v1}, Landroid/widget/EditText;->getWindowToken()Landroid/os/IBinder;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/inputmethod/InputMethodManager;->hideSoftInputFromWindow(Landroid/os/IBinder;I)Z

    :cond_0
    return-void
.end method

.method private R()V
    .locals 2

    .line 1
    sget v0, Les/x4;->durec_caption_editor_tool_bar_close_icon:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->F:Landroid/view/View;

    .line 2
    sget v0, Les/x4;->durec_caption_editor_tool_bar_keyboard_icon:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->H:Landroid/widget/ImageView;

    .line 3
    sget v0, Les/x4;->durec_caption_editor_tool_bar_color_typeface_icon:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->I:Landroid/widget/ImageView;

    .line 4
    sget v0, Les/x4;->durec_caption_editor_tool_bar_color_duration_icon:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->J:Landroid/widget/ImageView;

    .line 5
    sget v0, Les/x4;->durec_caption_editor_tool_bar_color_confirm_icon:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->G:Landroid/view/View;

    .line 6
    sget v0, Les/x4;->durec_caption_editor_color_typeface:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->K:Landroid/widget/FrameLayout;

    .line 7
    sget v0, Les/x4;->durec_caption_editor_duration:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/view/ViewGroup;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->L:Landroid/view/ViewGroup;

    .line 8
    sget v0, Les/x4;->caption_editor_start_time_picker:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    .line 9
    sget v0, Les/x4;->caption_editor_end_time_picker:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->N:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    .line 10
    sget v0, Les/x4;->caption_editor_duration:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->O:Landroid/widget/TextView;

    .line 11
    sget v0, Les/x4;->durec_caption_editor_tool_bar:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->P:Landroidx/constraintlayout/widget/ConstraintLayout;

    .line 12
    sget v0, Les/x4;->durec_caption_editor_container:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroidx/constraintlayout/widget/ConstraintLayout;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q:Landroidx/constraintlayout/widget/ConstraintLayout;

    .line 13
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->F:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 14
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->H:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->I:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->J:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 17
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->G:Landroid/view/View;

    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/b;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/b;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->setOnTimeChangedListener(Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView$f;)V

    .line 19
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->N:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/m;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/m;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->setOnTimeChangedListener(Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView$f;)V

    return-void
.end method

.method private S()V
    .locals 2

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->z()Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;

    move-result-object v0

    const/4 v1, 0x1

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;->b(Z)V

    .line 3
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/j;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/j;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;->setOnShowFullScreenClickListener(Landroid/view/View$OnClickListener;)V

    .line 4
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/i;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/i;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/videos/edit/player/c$r;)V

    .line 5
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/h;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/h;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$i;)V

    .line 6
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->d()Landroid/view/View;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Landroid/view/View;)V

    .line 7
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/k;

    invoke-direct {v1, p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/k;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a(Lcom/esfile/screen/recorder/player/exo/a$h;)V

    return-void
.end method

.method private T()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->X:Z

    .line 2
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->i0:Z

    const-string v0, "none"

    .line 3
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Y:Ljava/lang/String;

    .line 4
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Z:Ljava/lang/String;

    const/4 v0, 0x1

    .line 5
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->k0:Z

    .line 6
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j0:Z

    .line 7
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->l0:Z

    return-void
.end method

.method private U()V
    .locals 2

    .line 1
    sget v0, Les/x4;->durec_caption_snippetbar_container:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    .line 2
    sget v0, Les/x4;->durec_caption_snippetbar_pointer:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->A:Landroid/widget/ImageView;

    .line 3
    sget v0, Les/x4;->durec_caption_snippetbar_pointer_line:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->z:Landroid/view/View;

    .line 4
    sget v0, Les/x4;->durec_caption_editor_add_caption_et:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    .line 5
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$c;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$c;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->addTextChangedListener(Landroid/text/TextWatcher;)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/g;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/g;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->setMultiTrackMoveListener(Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar$g;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$d;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$d;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->setDragListener(Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/d$b;)V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/f;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/f;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->setSelectListener(Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/d$d;)V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/d;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/d;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->setSpaceCheckListener(Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar$i;)V

    .line 10
    sget v0, Les/x4;->durec_caption_snippetbar_time:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->C:Landroid/widget/TextView;

    .line 11
    sget v0, Les/x4;->durec_caption_snippetbar_right_time:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->D:Landroid/widget/TextView;

    .line 12
    sget v0, Les/x4;->durec_caption_add:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->B:Landroid/widget/ImageView;

    .line 13
    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 14
    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$e;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$e;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-direct {v0, p0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;-><init>(Landroid/content/Context;Lcom/esfile/screen/recorder/videos/edit/activities/caption/n$d;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    .line 15
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/c;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/c;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/n$e;)V

    .line 16
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$f;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$f;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/o$d;)V

    .line 17
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->K:Landroid/widget/FrameLayout;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Landroid/view/ViewGroup;)V

    return-void
.end method

.method private V()Z
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 2
    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0
.end method

.method private W()Z
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->u:Z

    return v0
.end method

.method private X()V
    .locals 5

    const-string v0, "AddCap"

    const-string v1, "onAddBtnClick:"

    .line 1
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->W()Z

    move-result v1

    if-eqz v1, :cond_0

    const-string v1, "your can not add caption on edit mode!!"

    .line 3
    invoke-static {v0, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    return-void

    .line 4
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->T()V

    .line 5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->G()V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a()J

    move-result-wide v0

    const-wide/16 v2, 0x0

    cmp-long v4, v0, v2

    if-nez v4, :cond_1

    .line 7
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->g0()V

    goto :goto_0

    .line 8
    :cond_1
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->d(J)V

    .line 9
    invoke-direct {p0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->b(J)V

    .line 10
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->l0()V

    .line 11
    :goto_0
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/q;->a()V

    return-void
.end method

.method private Y()V
    .locals 4

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->q:Z

    if-eqz v0, :cond_0

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->b(J)V

    goto :goto_0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->r:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Ljava/lang/String;)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->s:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(I)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/a;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/a;)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    const/4 v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(JZ)Z

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->r:Ljava/lang/String;

    invoke-virtual {v0, v1, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a(JLjava/lang/String;)V

    :goto_0
    return-void
.end method

.method private Z()V
    .locals 1

    const/4 v0, 0x0

    .line 1
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j(Z)V

    .line 2
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i(I)V

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Y()V

    .line 4
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->A()V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q()V

    return-void
.end method

.method static synthetic a(Les/cd$r;Les/cd$r;)I
    .locals 2

    .line 31
    iget-wide v0, p0, Les/cd$r;->i:J

    iget-wide p0, p1, Les/cd$r;->i:J

    sub-long/2addr v0, p0

    const-wide/16 p0, 0x1

    invoke-static {v0, v1, p0, p1}, Ljava/lang/Math;->min(JJ)J

    move-result-wide p0

    const-wide/16 v0, -0x1

    invoke-static {p0, p1, v0, v1}, Ljava/lang/Math;->max(JJ)J

    move-result-wide p0

    long-to-int p1, p0

    return p1
.end method

.method private a(J)J
    .locals 1

    .line 39
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    if-nez v0, :cond_0

    return-wide p1

    .line 40
    :cond_0
    invoke-static {v0, p1, p2}, Les/rd;->c(Les/cd;J)J

    move-result-wide p1

    return-wide p1
.end method

.method private a(JZ)J
    .locals 2

    .line 36
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    if-nez v0, :cond_0

    return-wide p1

    .line 37
    :cond_0
    invoke-static {v0, p1, p2}, Les/rd;->b(Les/cd;J)J

    move-result-wide p1

    if-eqz p3, :cond_2

    const-wide/16 v0, 0x0

    cmp-long p3, p1, v0

    if-gez p3, :cond_1

    move-wide p1, v0

    .line 38
    :cond_1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    cmp-long p3, p1, v0

    if-lez p3, :cond_2

    move-wide p1, v0

    :cond_2
    return-wide p1
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;J)J
    .locals 0

    .line 5
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(J)J

    move-result-wide p0

    return-wide p0
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Landroid/view/ViewGroup;
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->w()Landroid/view/ViewGroup;

    move-result-object p0

    return-object p0
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 4
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Y:Ljava/lang/String;

    return-object p1
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 2

    .line 32
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "extra_video_path"

    .line 33
    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/high16 p1, 0x14000000

    .line 34
    invoke-virtual {v0, p1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 35
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;I)V
    .locals 0

    .line 3
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i(I)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Z)V
    .locals 0

    .line 2
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j(Z)V

    return-void
.end method

.method private a(ZZZ)V
    .locals 1

    .line 28
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->H:Landroid/widget/ImageView;

    if-eqz p1, :cond_0

    sget p1, Les/w4;->durec_caption_editor_key_board_selected:I

    goto :goto_0

    :cond_0
    sget p1, Les/w4;->durec_caption_editor_key_board_unselected:I

    :goto_0
    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 29
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->I:Landroid/widget/ImageView;

    if-eqz p2, :cond_1

    sget p2, Les/w4;->durec_caption_editor_color_tab_selected:I

    goto :goto_1

    :cond_1
    sget p2, Les/w4;->durec_caption_editor_color_tab_unselected:I

    :goto_1
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 30
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->J:Landroid/widget/ImageView;

    if-eqz p3, :cond_2

    sget p2, Les/w4;->durec_caption_editor_duration_selected:I

    goto :goto_2

    :cond_2
    sget p2, Les/w4;->durec_caption_editor_duration_unselected:I

    :goto_2
    invoke-virtual {p1, p2}, Landroid/widget/ImageView;->setImageResource(I)V

    return-void
.end method

.method private a0()V
    .locals 4

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->N()Z

    move-result v0

    if-nez v0, :cond_0

    return-void

    :cond_0
    const/4 v0, 0x0

    .line 2
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j(Z)V

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->V()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    invoke-virtual {v1, v2, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->b(J)V

    goto :goto_0

    .line 5
    :cond_1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->e0()V

    .line 6
    :goto_0
    invoke-virtual {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i(I)V

    .line 7
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->e()V

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q()V

    .line 9
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->A()V

    .line 10
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    invoke-virtual {v1, v2, v3, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->b(JZ)V

    .line 11
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a(Z)V

    .line 12
    invoke-static {p0}, Lcom/esfile/screen/recorder/videos/edit/h;->a(Landroid/content/Context;)Lcom/esfile/screen/recorder/videos/edit/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/h;->g()Z

    move-result v0

    if-eqz v0, :cond_2

    .line 13
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->w()Landroid/view/ViewGroup;

    move-result-object v0

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/e;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/e;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    const-wide/16 v2, 0x96

    invoke-virtual {v0, v1, v2, v3}, Landroid/view/ViewGroup;->postDelayed(Ljava/lang/Runnable;J)Z

    :cond_2
    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Ljava/lang/String;)Ljava/lang/String;
    .locals 0

    .line 3
    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Z:Ljava/lang/String;

    return-object p1
.end method

.method private b(J)V
    .locals 3

    const/4 v0, 0x1

    .line 9
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->q:Z

    .line 10
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j(Z)V

    const/4 v1, 0x4

    .line 11
    invoke-virtual {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i(I)V

    .line 12
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    .line 13
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    const-string v2, ""

    invoke-virtual {v1, p1, p2, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(JLjava/lang/String;)V

    .line 14
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Z)V

    .line 15
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(J)V

    .line 16
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    invoke-virtual {p1, v2}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 17
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->f0()V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j0()V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;I)V
    .locals 0

    .line 4
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j(I)V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->k0:Z

    return p1
.end method

.method private b0()V
    .locals 6

    .line 1
    invoke-static {}, Les/dd;->a()Les/cd;

    move-result-object v1

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->P()Ljava/util/List;

    move-result-object v0

    .line 3
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v2

    if-lez v2, :cond_1

    .line 4
    iget-object v2, v1, Les/cd;->e:Les/cd$q;

    if-nez v2, :cond_0

    .line 5
    new-instance v2, Les/cd$q;

    invoke-direct {v2}, Les/cd$q;-><init>()V

    iput-object v2, v1, Les/cd;->e:Les/cd$q;

    .line 6
    :cond_0
    iget-object v2, v1, Les/cd;->e:Les/cd$q;

    iput-object v0, v2, Les/cd$q;->a:Ljava/util/List;

    goto :goto_0

    :cond_1
    const/4 v0, 0x0

    .line 7
    iput-object v0, v1, Les/cd;->e:Les/cd$q;

    .line 8
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->v:[Ljava/lang/String;

    array-length v2, v0

    add-int/lit8 v2, v2, 0x1

    invoke-static {v0, v2}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;

    move-result-object v0

    move-object v2, v0

    check-cast v2, [Ljava/lang/String;

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->v:[Ljava/lang/String;

    array-length v0, v0

    const-string v3, "SubtitleRender"

    aput-object v3, v2, v0

    const/4 v3, 0x1

    const/16 v5, 0xe

    const-string v4, "addSubtitle"

    move-object v0, p0

    .line 10
    invoke-static/range {v0 .. v5}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditPreviewActivity;->a(Landroid/app/Activity;Les/cd;[Ljava/lang/String;ILjava/lang/String;I)V

    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    return-wide v0
.end method

.method private c(J)V
    .locals 3

    .line 23
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->G()V

    .line 24
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    const-wide/16 v0, 0x0

    cmp-long v2, p1, v0

    if-lez v2, :cond_1

    .line 25
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->T()V

    .line 26
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->b()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/EditText;->setText(Ljava/lang/CharSequence;)V

    .line 27
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    if-eqz v0, :cond_0

    .line 28
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    invoke-interface {v0}, Landroid/text/Editable;->length()I

    move-result v0

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setSelection(I)V

    :cond_0
    const/4 v0, 0x1

    .line 29
    invoke-direct {p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j(Z)V

    const/4 v1, 0x4

    .line 30
    invoke-virtual {p0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->i(I)V

    .line 31
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Z)V

    .line 32
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->d(J)V

    const/4 p1, 0x0

    .line 33
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->q:Z

    .line 34
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->f0()V

    .line 35
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->l0()V

    goto :goto_0

    :cond_1
    const-string p1, "AddCap"

    const-string p2, "the caption your edit is not exist!!"

    .line 36
    invoke-static {p1, p2}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void
.end method

.method private c(Ljava/lang/String;)V
    .locals 2
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 19
    new-instance v0, Lcom/esfile/screen/recorder/media/b;

    invoke-direct {v0}, Lcom/esfile/screen/recorder/media/b;-><init>()V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    .line 20
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    sget v1, Les/v4;->durec_video_edit_snippet_min_side_max_width:I

    invoke-virtual {v0, v1}, Landroid/content/res/Resources;->getDimensionPixelOffset(I)I

    move-result v0

    .line 21
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/media/b;->b(I)V

    .line 22
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    invoke-virtual {v0, p1}, Lcom/esfile/screen/recorder/media/b;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j0:Z

    return p1
.end method

.method private c0()V
    .locals 3

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->P()Ljava/util/List;

    move-result-object v0

    .line 2
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-lez v1, :cond_1

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    iget-object v2, v1, Les/cd;->e:Les/cd$q;

    if-nez v2, :cond_0

    .line 4
    new-instance v2, Les/cd$q;

    invoke-direct {v2}, Les/cd$q;-><init>()V

    iput-object v2, v1, Les/cd;->e:Les/cd$q;

    .line 5
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    iget-object v1, v1, Les/cd;->e:Les/cd$q;

    iput-object v0, v1, Les/cd$q;->a:Ljava/util/List;

    goto :goto_0

    .line 6
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    const/4 v1, 0x0

    iput-object v1, v0, Les/cd;->e:Les/cd$q;

    .line 7
    :goto_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    invoke-static {v0}, Les/dd;->a(Les/cd;)V

    .line 8
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    return-object p0
.end method

.method private d(J)V
    .locals 22

    move-object/from16 v0, p0

    move-wide/from16 v1, p1

    .line 11
    iget-object v3, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    invoke-virtual {v3, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a(J)Landroid/util/Pair;

    move-result-object v3

    .line 12
    iget-object v4, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    invoke-virtual {v4, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->c(J)Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;

    move-result-object v1

    .line 13
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->c()J

    move-result-wide v4

    const-wide/16 v6, 0x64

    div-long/2addr v4, v6

    mul-long v13, v4, v6

    .line 14
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->a()J

    move-result-wide v1

    div-long/2addr v1, v6

    mul-long v20, v1, v6

    .line 15
    iget-object v8, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    iget-object v1, v3, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v9

    iget-object v1, v3, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v11

    invoke-virtual/range {v8 .. v14}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->a(JJJ)V

    .line 16
    iget-object v15, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->N:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    iget-object v1, v3, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v16

    iget-object v1, v3, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v1, Ljava/lang/Long;

    invoke-virtual {v1}, Ljava/lang/Long;->longValue()J

    move-result-wide v18

    invoke-virtual/range {v15 .. v21}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->a(JJJ)V

    .line 17
    invoke-direct/range {p0 .. p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M()V

    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->X:Z

    return p1
.end method

.method private d0()V
    .locals 20

    move-object/from16 v0, p0

    .line 1
    iget-object v1, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    iget-object v1, v1, Les/cd;->e:Les/cd$q;

    iget-object v1, v1, Les/cd$q;->a:Ljava/util/List;

    if-eqz v1, :cond_8

    .line 2
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    .line 3
    iget-object v2, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    iget-object v2, v2, Les/cd;->e:Les/cd$q;

    iget-object v2, v2, Les/cd$q;->a:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v2

    :goto_0
    invoke-interface {v2}, Ljava/util/Iterator;->hasNext()Z

    move-result v3

    if-eqz v3, :cond_7

    invoke-interface {v2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Les/cd$r;

    .line 4
    iget-wide v4, v3, Les/cd$r;->i:J

    const/4 v6, 0x0

    invoke-direct {v0, v4, v5, v6}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(JZ)J

    move-result-wide v4

    .line 5
    iget-wide v7, v3, Les/cd$r;->j:J

    invoke-direct {v0, v7, v8, v6}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(JZ)J

    move-result-wide v6

    .line 6
    iget-wide v8, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    cmp-long v10, v4, v8

    if-gtz v10, :cond_6

    const-wide/16 v8, 0x0

    cmp-long v10, v6, v8

    if-gtz v10, :cond_0

    goto :goto_4

    :cond_0
    cmp-long v10, v4, v8

    if-gez v10, :cond_1

    move-wide/from16 v16, v8

    goto :goto_1

    :cond_1
    move-wide/from16 v16, v4

    .line 7
    :goto_1
    iget-wide v4, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    cmp-long v8, v6, v4

    if-lez v8, :cond_2

    move-wide/from16 v18, v4

    goto :goto_2

    :cond_2
    move-wide/from16 v18, v6

    :goto_2
    sub-long v4, v18, v16

    const-wide/16 v6, 0x3e8

    cmp-long v8, v4, v6

    if-ltz v8, :cond_5

    cmp-long v8, v4, v6

    if-gez v8, :cond_3

    goto :goto_3

    .line 8
    :cond_3
    iget-object v4, v3, Les/cd$r;->e:Ljava/lang/String;

    if-nez v4, :cond_4

    .line 9
    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 10
    :cond_4
    iget-object v4, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    iget-wide v5, v3, Les/cd$r;->a:J

    invoke-virtual {v4, v5, v6, v3}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(JLes/cd$r;)V

    .line 11
    iget-object v11, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    iget v12, v3, Les/cd$r;->k:I

    iget-wide v13, v3, Les/cd$r;->a:J

    iget-object v15, v3, Les/cd$r;->e:Ljava/lang/String;

    invoke-virtual/range {v11 .. v19}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a(IJLjava/lang/String;JJ)J

    goto :goto_0

    .line 12
    :cond_5
    :goto_3
    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 13
    :cond_6
    :goto_4
    invoke-interface {v1, v3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 14
    :cond_7
    iget-object v2, v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    iget-object v2, v2, Les/cd;->e:Les/cd$q;

    iget-object v2, v2, Les/cd$q;->a:Ljava/util/List;

    invoke-interface {v2, v1}, Ljava/util/List;->removeAll(Ljava/util/Collection;)Z

    :cond_8
    return-void
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    return-wide v0
.end method

.method private e0()V
    .locals 5

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->q:Z

    if-eqz v0, :cond_0

    const-string v0, "add"

    goto :goto_0

    :cond_0
    const-string v0, "edit"

    .line 2
    :goto_0
    iget-boolean v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->X:Z

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Y:Ljava/lang/String;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Z:Ljava/lang/String;

    iget-boolean v4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->i0:Z

    invoke-static {v0, v1, v2, v3, v4}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/q;->a(Ljava/lang/String;ZLjava/lang/String;Ljava/lang/String;Z)V

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Landroid/widget/TextView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->C:Landroid/widget/TextView;

    return-object p0
.end method

.method private f0()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->b()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->r:Ljava/lang/String;

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->s:I

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->c()Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/a;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->t:Lcom/esfile/screen/recorder/videos/edit/activities/caption/font/a;

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->getTime()J

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->N:Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/timepicker/TimePickerView;->getTime()J

    return-void
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->x:J

    return-wide v0
.end method

.method private g0()V
    .locals 1

    .line 1
    sget v0, Les/z4;->durec_subtitle_duration_limit_prompt:I

    invoke-static {v0}, Les/ec;->a(I)V

    return-void
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q()V

    return-void
.end method

.method private h0()V
    .locals 2

    const/4 v0, 0x0

    const/4 v1, 0x1

    .line 1
    invoke-direct {p0, v0, v1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(ZZZ)V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q()V

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->f()V

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->K:Landroid/widget/FrameLayout;

    invoke-virtual {v1, v0}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->L:Landroid/view/ViewGroup;

    const/4 v1, 0x4

    invoke-virtual {v0, v1}, Landroid/view/ViewGroup;->setVisibility(I)V

    const-string v0, "color"

    .line 6
    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/q;->a(Ljava/lang/String;)V

    return-void
.end method

.method private i(Z)V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->z:Landroid/view/View;

    if-eqz p1, :cond_0

    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Les/u4;->durec_colorPrimary:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    goto :goto_0

    .line 3
    :cond_0
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Les/u4;->durec_caption_no_space_to_add_anchor_line_color:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    .line 4
    :goto_0
    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundColor(I)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->C:Landroid/widget/TextView;

    if-eqz p1, :cond_1

    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Les/u4;->durec_colorPrimary:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    goto :goto_1

    .line 6
    :cond_1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v1

    sget v2, Les/u4;->durec_caption_no_space_to_add_center_time_color:I

    invoke-virtual {v1, v2}, Landroid/content/res/Resources;->getColor(I)I

    move-result v1

    .line 7
    :goto_1
    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTextColor(I)V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->A:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setEnabled(Z)V

    .line 9
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->B:Landroid/widget/ImageView;

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setEnabled(Z)V

    return-void
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->k0:Z

    return p0
.end method

.method private i0()V
    .locals 3

    const/4 v0, 0x0

    const/4 v1, 0x1

    .line 1
    invoke-direct {p0, v0, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(ZZZ)V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q()V

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->K:Landroid/widget/FrameLayout;

    const/4 v2, 0x4

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->L:Landroid/view/ViewGroup;

    invoke-virtual {v1, v0}, Landroid/view/ViewGroup;->setVisibility(I)V

    const-string v0, "timeadjust"

    .line 5
    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/q;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Landroid/view/ViewGroup;
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->w()Landroid/view/ViewGroup;

    move-result-object p0

    return-object p0
.end method

.method private j(I)V
    .locals 3

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->P:Landroidx/constraintlayout/widget/ConstraintLayout;

    if-eqz v0, :cond_0

    .line 3
    new-instance v0, Landroidx/constraintlayout/widget/ConstraintSet;

    invoke-direct {v0}, Landroidx/constraintlayout/widget/ConstraintSet;-><init>()V

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q:Landroidx/constraintlayout/widget/ConstraintLayout;

    invoke-virtual {v0, v1}, Landroidx/constraintlayout/widget/ConstraintSet;->clone(Landroidx/constraintlayout/widget/ConstraintLayout;)V

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->P:Landroidx/constraintlayout/widget/ConstraintLayout;

    invoke-virtual {v1}, Landroid/view/ViewGroup;->getId()I

    move-result v1

    const/4 v2, 0x4

    invoke-virtual {v0, v1, v2, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->setMargin(III)V

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Q:Landroidx/constraintlayout/widget/ConstraintLayout;

    invoke-virtual {v0, p1}, Landroidx/constraintlayout/widget/ConstraintSet;->applyTo(Landroidx/constraintlayout/widget/ConstraintLayout;)V

    .line 7
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->P:Landroidx/constraintlayout/widget/ConstraintLayout;

    invoke-virtual {p1}, Landroidx/constraintlayout/widget/ConstraintLayout;->requestLayout()V

    :cond_0
    return-void
.end method

.method private j(Z)V
    .locals 0

    .line 8
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->u:Z

    xor-int/lit8 p1, p1, 0x1

    .line 9
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->g(Z)V

    return-void
.end method

.method private j0()V
    .locals 3

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->B:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    invoke-static {p0}, Lcom/esfile/screen/recorder/videos/edit/h;->a(Landroid/content/Context;)Lcom/esfile/screen/recorder/videos/edit/h;

    move-result-object v0

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/h;->f()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-static {p0}, Lcom/esfile/screen/recorder/videos/edit/h;->a(Landroid/content/Context;)Lcom/esfile/screen/recorder/videos/edit/h;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/h;->a(Z)V

    .line 3
    new-instance v0, Lcom/esfile/screen/recorder/picture/ui/c;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/picture/ui/c;-><init>(Landroid/content/Context;)V

    .line 4
    new-instance v1, Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    invoke-direct {v1}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;-><init>()V

    sget v2, Les/z4;->durec_tab_to_add_subtitle:I

    .line 5
    invoke-virtual {p0, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a(Ljava/lang/String;)Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    const/16 v2, 0x30

    .line 6
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a(I)Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->B:Landroid/widget/ImageView;

    .line 7
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a(Landroid/view/View;)Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    .line 8
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a()Lcom/esfile/screen/recorder/picture/ui/c$a;

    move-result-object v1

    .line 9
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/picture/ui/c;->a(Lcom/esfile/screen/recorder/picture/ui/c$a;)V

    .line 10
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/picture/ui/c;->b()V

    :cond_0
    return-void
.end method

.method static synthetic k(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Lcom/esfile/screen/recorder/media/b;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    return-object p0
.end method

.method private k0()V
    .locals 4

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    if-eqz v0, :cond_1

    .line 2
    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->p:J

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->b(J)Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/PieceView;

    move-result-object v0

    if-eqz v0, :cond_1

    .line 3
    invoke-static {p0}, Lcom/esfile/screen/recorder/videos/edit/h;->a(Landroid/content/Context;)Lcom/esfile/screen/recorder/videos/edit/h;

    move-result-object v1

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/h;->g()Z

    move-result v1

    if-eqz v1, :cond_1

    invoke-virtual {p0}, Landroid/app/Activity;->isDestroyed()Z

    move-result v1

    if-eqz v1, :cond_0

    goto :goto_0

    .line 4
    :cond_0
    invoke-static {p0}, Lcom/esfile/screen/recorder/videos/edit/h;->a(Landroid/content/Context;)Lcom/esfile/screen/recorder/videos/edit/h;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/videos/edit/h;->b(Z)V

    .line 5
    new-instance v1, Lcom/esfile/screen/recorder/picture/ui/c;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/picture/ui/c;-><init>(Landroid/content/Context;)V

    .line 6
    new-instance v2, Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    invoke-direct {v2}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;-><init>()V

    sget v3, Les/z4;->durec_long_press_to_adjust_position:I

    .line 7
    invoke-virtual {p0, v3}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a(Ljava/lang/String;)Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    const/16 v3, 0x30

    .line 8
    invoke-virtual {v2, v3}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a(I)Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    .line 9
    invoke-virtual {v2, v0}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a(Landroid/view/View;)Lcom/esfile/screen/recorder/picture/ui/c$a$a;

    .line 10
    invoke-virtual {v2}, Lcom/esfile/screen/recorder/picture/ui/c$a$a;->a()Lcom/esfile/screen/recorder/picture/ui/c$a;

    move-result-object v0

    .line 11
    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/picture/ui/c;->a(Lcom/esfile/screen/recorder/picture/ui/c$a;)V

    .line 12
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/picture/ui/c;->b()V

    nop

    :cond_1
    :goto_0
    return-void
.end method

.method static synthetic l(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)I
    .locals 0

    .line 1
    iget p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->w:I

    return p0
.end method

.method private l0()V
    .locals 3

    const/4 v0, 0x0

    const/4 v1, 0x1

    .line 1
    invoke-direct {p0, v1, v0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(ZZZ)V

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->requestFocus()Z

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->K:Landroid/widget/FrameLayout;

    const/16 v2, 0x8

    invoke-virtual {v1, v2}, Landroid/widget/FrameLayout;->setVisibility(I)V

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->L:Landroid/view/ViewGroup;

    invoke-virtual {v1, v2}, Landroid/view/ViewGroup;->setVisibility(I)V

    .line 5
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->H()V

    const-string v1, "input_method"

    .line 6
    invoke-virtual {p0, v1}, Landroid/app/Activity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/view/inputmethod/InputMethodManager;

    if-eqz v1, :cond_0

    .line 7
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->o:Landroid/widget/EditText;

    if-eqz v2, :cond_0

    .line 8
    invoke-virtual {v1, v2, v0}, Landroid/view/inputmethod/InputMethodManager;->showSoftInput(Landroid/view/View;I)Z

    :cond_0
    const-string v0, "keyboard"

    .line 9
    invoke-static {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/q;->a(Ljava/lang/String;)V

    return-void
.end method

.method static synthetic m(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->V:Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;

    return-object p0
.end method

.method private m0()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->n:Lcom/esfile/screen/recorder/utils/q;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Lcom/esfile/screen/recorder/utils/q;

    invoke-virtual {p0}, Landroid/app/Activity;->getWindow()Landroid/view/Window;

    move-result-object v1

    invoke-virtual {v1}, Landroid/view/Window;->getDecorView()Landroid/view/View;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/esfile/screen/recorder/utils/q;-><init>(Landroid/view/View;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->n:Lcom/esfile/screen/recorder/utils/q;

    .line 3
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$b;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$b;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/utils/q;->a(Lcom/esfile/screen/recorder/utils/q$b;)V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->n:Lcom/esfile/screen/recorder/utils/q;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/utils/q;->a()V

    return-void
.end method

.method static synthetic n(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Landroid/view/ViewGroup;
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->w()Landroid/view/ViewGroup;

    move-result-object p0

    return-object p0
.end method

.method private n0()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->n:Lcom/esfile/screen/recorder/utils/q;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/utils/q;->b()V

    :cond_0
    return-void
.end method

.method static synthetic o(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Z
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->W()Z

    move-result p0

    return p0
.end method

.method static synthetic p(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Landroid/view/ViewGroup;
    .locals 0

    .line 1
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->w()Landroid/view/ViewGroup;

    move-result-object p0

    return-object p0
.end method

.method static synthetic q(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->j0:Z

    return p0
.end method

.method static synthetic r(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    return-object p0
.end method

.method public static synthetic s(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->k0()V

    return-void
.end method


# virtual methods
.method protected C()Z
    .locals 11

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    const/4 v1, 0x0

    if-eqz v0, :cond_6

    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    if-nez v0, :cond_0

    goto/16 :goto_1

    .line 2
    :cond_0
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->getAllPieces()Ljava/util/List;

    move-result-object v0

    .line 3
    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    iget-object v2, v2, Les/cd;->e:Les/cd$q;

    const/4 v3, 0x1

    const-string v4, "AddCap"

    if-eqz v2, :cond_5

    .line 4
    iget-object v5, v2, Les/cd$q;->a:Ljava/util/List;

    if-eqz v5, :cond_5

    .line 5
    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v6

    const-string v7, "new:"

    const-string v8, "ori:"

    const-string v9, "\n"

    if-eq v5, v6, :cond_2

    .line 6
    sget-boolean v1, Les/u6;->b:Z

    if-eqz v1, :cond_1

    const-string v1, "subtitle size different\n"

    .line 7
    invoke-static {v4, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 8
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v2, Les/cd$q;->a:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v4, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 9
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v4, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    :cond_1
    return v3

    .line 10
    :cond_2
    iget-object v0, v2, Les/cd$q;->a:Ljava/util/List;

    .line 11
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->P()Ljava/util/List;

    move-result-object v2

    const/4 v5, 0x0

    .line 12
    :goto_0
    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v6

    if-ge v5, v6, :cond_6

    .line 13
    invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Les/cd$r;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v10

    invoke-virtual {v6, v10}, Les/cd$r;->equals(Ljava/lang/Object;)Z

    move-result v6

    if-nez v6, :cond_4

    .line 14
    sget-boolean v1, Les/u6;->b:Z

    if-eqz v1, :cond_3

    const-string v1, "subtitle content different\n"

    .line 15
    invoke-static {v4, v1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 16
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v8}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v0, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Les/cd$r;

    invoke-virtual {v0}, Les/cd$r;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v4, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 17
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-interface {v2, v5}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Les/cd$r;

    invoke-virtual {v1}, Les/cd$r;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, v9}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-static {v4, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    :cond_3
    return v3

    :cond_4
    add-int/lit8 v5, v5, 0x1

    goto :goto_0

    .line 18
    :cond_5
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_6

    const-string v0, "add subtitle different\n"

    .line 19
    invoke-static {v4, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    return v3

    :cond_6
    :goto_1
    return v1
.end method

.method protected F()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->c0()V

    return-void
.end method

.method public synthetic I()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M()V

    return-void
.end method

.method public synthetic J()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->M()V

    return-void
.end method

.method public K()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->V:Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;

    if-nez v0, :cond_0

    .line 2
    new-instance v0, Landroid/os/HandlerThread;

    const-string v1, "CaptionImageGetHandler"

    invoke-direct {v0, v1}, Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V

    .line 3
    invoke-virtual {v0}, Landroid/os/HandlerThread;->start()V

    .line 4
    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;

    invoke-virtual {v0}, Landroid/os/HandlerThread;->getLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-direct {v1, p0, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;Landroid/os/Looper;)V

    iput-object v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->V:Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    new-instance v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$g;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$g;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->setDecoration(Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar$e;)V

    :cond_0
    return-void
.end method

.method public synthetic a(II)V
    .locals 3

    int-to-long p1, p1

    const/4 v0, 0x1

    .line 22
    invoke-direct {p0, p1, p2, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(JZ)J

    move-result-wide p1

    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->x:J

    .line 23
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->C:Landroid/widget/TextView;

    iget-wide v1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    invoke-static {p1, p2, v1, v2}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a(JJ)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 24
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->R:Z

    if-nez p1, :cond_0

    .line 25
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->x:J

    const/4 p2, 0x0

    invoke-virtual {p1, v0, v1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a(JZ)V

    :cond_0
    return-void
.end method

.method public synthetic a(IJ)V
    .locals 1

    const/4 v0, 0x2

    if-eq p1, v0, :cond_0

    goto :goto_0

    .line 20
    :cond_0
    invoke-direct {p0, p2, p3}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->c(J)V

    :goto_0
    return-void
.end method

.method public synthetic a(JLjava/util/List;Z)V
    .locals 2

    .line 7
    invoke-direct {p0, p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(J)J

    move-result-wide v0

    if-eqz p4, :cond_0

    const/4 p4, 0x1

    .line 8
    iput-boolean p4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->R:Z

    .line 9
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->G()V

    long-to-int p4, v0

    .line 10
    invoke-virtual {p0, p4}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f(I)V

    const/4 p4, 0x0

    .line 11
    iput-boolean p4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->R:Z

    .line 12
    :cond_0
    iget-object p4, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->C:Landroid/widget/TextView;

    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    invoke-static {p1, p2, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a(JJ)Ljava/lang/String;

    move-result-object p1

    invoke-virtual {p4, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    if-eqz p3, :cond_2

    .line 13
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->S:Z

    if-eqz p1, :cond_2

    .line 14
    new-instance p1, Ljava/util/ArrayList;

    invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V

    .line 15
    invoke-interface {p3}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p2

    :goto_0
    invoke-interface {p2}, Ljava/util/Iterator;->hasNext()Z

    move-result p3

    if-eqz p3, :cond_1

    invoke-interface {p2}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object p3

    check-cast p3, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;

    .line 16
    invoke-virtual {p3}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->b()J

    move-result-wide p3

    invoke-static {p3, p4}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object p3

    invoke-interface {p1, p3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 17
    :cond_1
    iget-object p2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {p2, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Ljava/util/List;)V

    :cond_2
    return-void
.end method

.method public synthetic a(Landroid/view/View;)V
    .locals 0

    .line 21
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->b0()V

    return-void
.end method

.method public synthetic a(Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;)V
    .locals 3

    .line 18
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    if-eqz v0, :cond_0

    .line 19
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->b()J

    move-result-wide v1

    const/4 p1, 0x1

    invoke-virtual {v0, v1, v2, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(JZ)Z

    :cond_0
    return-void
.end method

.method protected a(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 1

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->v:[Ljava/lang/String;

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/player/c;->a([Ljava/lang/String;)V

    return-void
.end method

.method public synthetic a(ZII)V
    .locals 0

    if-eqz p1, :cond_0

    .line 26
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    const/4 p2, 0x0

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Z)V

    goto :goto_0

    .line 27
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    const/4 p2, 0x1

    invoke-virtual {p1, p2}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Z)V

    :goto_0
    return-void
.end method

.method protected b(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 1

    .line 8
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Z)V

    return-void
.end method

.method protected b(Ljava/lang/String;)Z
    .locals 0

    .line 5
    :try_start_0
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->c(Ljava/lang/String;)V

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    if-eqz p1, :cond_0

    .line 7
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    invoke-virtual {p1}, Lcom/esfile/screen/recorder/media/b;->d()V
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    const/4 p1, 0x1

    return p1

    :catch_0
    const/4 p1, 0x0

    return p1
.end method

.method protected c(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 5

    .line 3
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->c(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V

    .line 4
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getDuration()I

    move-result p1

    int-to-long v0, p1

    iput-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->W:J

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->L()V

    .line 6
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    sget v0, Les/v4;->durec_edit_video_snippet_bg_frame_width:I

    invoke-virtual {p1, v0}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result p1

    .line 7
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    long-to-float v2, v0

    const/high16 v3, 0x3f800000    # 1.0f

    mul-float v2, v2, v3

    const/high16 v4, 0x44fa0000    # 2000.0f

    div-float/2addr v2, v4

    const/high16 v4, 0x3f000000    # 0.5f

    add-float/2addr v2, v4

    float-to-int v2, v2

    iput v2, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->w:I

    long-to-float v0, v0

    mul-float v0, v0, v3

    int-to-float v1, v2

    div-float/2addr v0, v1

    int-to-float p1, p1

    div-float/2addr p1, v0

    float-to-double v0, p1

    .line 8
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    invoke-virtual {p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->setRatio(D)V

    .line 9
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    invoke-virtual {p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->setMaxDuration(J)V

    .line 10
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->D:Landroid/widget/TextView;

    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    invoke-static {v0, v1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/RangeSeekBarContainer;->a(JJ)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 11
    new-instance p1, Ljava/lang/StringBuilder;

    invoke-direct {p1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v0, "setMaxDuration:"

    invoke-virtual {p1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0:J

    invoke-virtual {p1, v0, v1}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    const-string v0, "AddCap"

    invoke-static {v0, p1}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 12
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    if-eqz p1, :cond_0

    .line 13
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/media/b;->e()Z

    .line 14
    :cond_0
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->T:Z

    if-eqz p1, :cond_1

    .line 15
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->K()V

    .line 16
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->d0()V

    const/4 p1, 0x0

    .line 17
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->T:Z

    .line 18
    :cond_1
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    const/4 v0, 0x1

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->a(Z)V

    return-void
.end method

.method public synthetic d(Lcom/esfile/screen/recorder/videos/edit/player/VideoEditPlayer;)V
    .locals 3

    .line 3
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->S:Z

    if-nez v0, :cond_1

    const/4 v0, 0x1

    .line 4
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->S:Z

    .line 5
    invoke-virtual {p1}, Lcom/esfile/screen/recorder/videos/edit/player/c;->getCurrentPosition()I

    move-result p1

    int-to-long v1, p1

    invoke-direct {p0, v1, v2, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a(JZ)J

    move-result-wide v0

    .line 6
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->y:Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;

    invoke-virtual {p1, v0, v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/MultiTrackBar;->d(J)Ljava/util/List;

    move-result-object p1

    if-eqz p1, :cond_1

    .line 7
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 8
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object p1

    :goto_0
    invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z

    move-result v1

    if-eqz v1, :cond_0

    invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;

    .line 9
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/multitrack/c;->b()J

    move-result-wide v1

    invoke-static {v1, v2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_0

    .line 10
    :cond_0
    iget-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->E:Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;

    invoke-virtual {p1, v0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/n;->a(Ljava/util/List;)V

    :cond_1
    return-void
.end method

.method public synthetic h(Z)V
    .locals 1

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->B:Landroid/widget/ImageView;

    if-eqz v0, :cond_0

    .line 3
    invoke-direct {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->i(Z)V

    :cond_0
    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 0

    const/4 p3, 0x1

    if-ne p1, p3, :cond_1

    const/4 p1, -0x1

    if-ne p2, p1, :cond_1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->W()Z

    move-result p1

    if-eqz p1, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a0()V

    .line 3
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->c0()V

    :cond_1
    return-void
.end method

.method public onBackPressed()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->W()Z

    move-result v0

    if-eqz v0, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Z()V

    return-void

    .line 3
    :cond_0
    invoke-super {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onBackPressed()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->B:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->X()V

    goto :goto_0

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->F:Landroid/view/View;

    if-ne p1, v0, :cond_1

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->Z()V

    goto :goto_0

    .line 5
    :cond_1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->G:Landroid/view/View;

    if-ne p1, v0, :cond_2

    .line 6
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->a0()V

    goto :goto_0

    .line 7
    :cond_2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->H:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_3

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->l0()V

    goto :goto_0

    .line 9
    :cond_3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->I:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_4

    .line 10
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->h0()V

    goto :goto_0

    .line 11
    :cond_4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->J:Landroid/widget/ImageView;

    if-ne p1, v0, :cond_5

    .line 12
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->i0()V

    :cond_5
    :goto_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 1

    .line 1
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-virtual {p0}, Landroid/app/Activity;->isFinishing()Z

    move-result p1

    if-eqz p1, :cond_0

    return-void

    .line 3
    :cond_0
    sget p1, Les/y4;->durec_video_edit_add_caption_layout:I

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->h(I)V

    .line 4
    sget p1, Les/y4;->durec_video_edit_caption_editor_view:I

    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->g(I)V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->R()V

    .line 6
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U()V

    .line 7
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->S()V

    .line 8
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m0()V

    .line 9
    invoke-static {}, Les/dd;->a()Les/cd;

    move-result-object p1

    iput-object p1, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->m:Les/cd;

    .line 10
    iget-object v0, p1, Les/cd;->e:Les/cd$q;

    if-nez v0, :cond_1

    .line 11
    new-instance v0, Les/cd$q;

    invoke-direct {v0}, Les/cd$q;-><init>()V

    iput-object v0, p1, Les/cd;->e:Les/cd$q;

    :cond_1
    const/4 p1, 0x0

    .line 12
    invoke-virtual {p0, p1}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->f(Z)V

    .line 13
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->w()Landroid/view/ViewGroup;

    move-result-object p1

    invoke-virtual {p1}, Landroid/view/ViewGroup;->getViewTreeObserver()Landroid/view/ViewTreeObserver;

    move-result-object p1

    new-instance v0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$a;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$a;-><init>(Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;)V

    invoke-virtual {p1, v0}, Landroid/view/ViewTreeObserver;->addOnGlobalLayoutListener(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V

    .line 14
    invoke-static {}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/q;->h()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onDestroy()V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->n0()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    if-eqz v0, :cond_0

    .line 4
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/b;->c()V

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->V:Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity$h;

    if-eqz v0, :cond_1

    .line 6
    invoke-virtual {v0}, Landroid/os/Handler;->getLooper()Landroid/os/Looper;

    move-result-object v0

    invoke-virtual {v0}, Landroid/os/Looper;->quitSafely()V

    .line 7
    :cond_1
    invoke-static {}, Les/ua;->d()Les/ua;

    move-result-object v0

    invoke-virtual {v0}, Les/ua;->a()V

    return-void
.end method

.method protected onPause()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/videos/edit/activities/VideoEditWithPlayerActivity;->onPause()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->U:Lcom/esfile/screen/recorder/media/b;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/b;->d()V

    :cond_0
    const/4 v0, 0x0

    .line 4
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/edit/activities/caption/AddCaptionActivity;->S:Z

    return-void
.end method

.method public u()Ljava/lang/String;
    .locals 1

    const-string v0, "\u6dfb\u52a0\u5b57\u5e55\u9875\u9762"

    return-object v0
.end method

.method protected x()I
    .locals 1

    .line 1
    sget v0, Les/z4;->durec_common_ok:I

    return v0
.end method

.method protected y()I
    .locals 1

    .line 1
    sget v0, Les/z4;->durec_add_subtitle:I

    return v0
.end method
